package cn.icanci.template.handler;

import java.sql.ResultSet;

/**
 * @Author: icanci
 * @ProjectName: kangaroo-orm
 * @PackageName: cn.icanci.template.handler
 * @Date: Created in 2020/8/31 15:48
 * @ClassAction: 结果集处理器
 */
@FunctionalInterface
public interface IResultSetHandler<T> {
    /**
     * 结果集处理器
     * @param rs 结果集
     * @return 处理器
     * @throws Exception
     */
    T handler(ResultSet rs) throws Exception;
}
